/**
 * Bead.java
 * Draws an individual bead.
 * 
 * Copyright (c) 2012 The Javanauts
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this 
 * software and associated documentation files (the "Software"), to deal in the Software 
 * without restriction, including without limitation the rights to use, copy, modify, 
 * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
 * persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or 
 * substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package edu.utsa.cs.cs4953_2012.abacus;

import javax.swing.JLabel;

/**
 * Not yet implemented.
 * 
 */
public class Bead {
	/**
	 * 
	 */
	private boolean flipped;

	/**
	 * 
	 */
	private int beadValue;

	/**
	 * 
	 */
	private JLabel beadColorAndImageFlipped;

	/**
	 * 
	 */
	private JLabel beadColorAndImageNotFlipped;

	/**
	 * 
	 */
	private int ArrayPositionX;

	/**
	 * 
	 */
	private int ArrayPositionY;

	/**
	 * 
	 */
	private int BoardPositionX;

	/**
	 * 
	 */
	private int BoardPositionY;

	/**
	 * @param beadValue
	 * @param beadColorAndImageFlipped
	 * @param beadColorAndImageNotFlipped
	 * @param ArrayPositionX
	 * @param ArrayPositionY
	 * @param BoardPositionX
	 * @param BoardPositionY
	 */
	public Bead(int beadValue, JLabel beadColorAndImageFlipped,
			JLabel beadColorAndImageNotFlipped, int ArrayPositionX,
			int ArrayPositionY, int BoardPositionX, int BoardPositionY) {
		this.beadValue = beadValue;
		flipped = false;
		this.beadColorAndImageFlipped = beadColorAndImageFlipped;
		this.beadColorAndImageNotFlipped = beadColorAndImageNotFlipped;
		this.ArrayPositionX = ArrayPositionX;
		this.ArrayPositionY = ArrayPositionY;
		this.BoardPositionX = BoardPositionX;
		this.BoardPositionY = BoardPositionY;

	}

	/**
	 * @return
	 */
	public int getBeadArrayPositionX() {
		return ArrayPositionX;
	}

	/**
	 * @return
	 */
	public int getBeadArrayPositionY() {
		return ArrayPositionY;
	}

	/**
	 * @return
	 */
	public int getBeadValue() {
		return beadValue;
	}

	/**
	 * @return
	 */
	public int getBoardPositionX() {
		return BoardPositionX;
	}

	/**
	 * @return
	 */
	public int getBoardPositionY() {
		return BoardPositionY;
	}

	/**
	 * @return
	 */
	public JLabel getImageFlipped() {
		return beadColorAndImageFlipped;
	}

	/**
	 * @return
	 */
	public JLabel getImageNotFlipped() {
		return beadColorAndImageNotFlipped;
	}

	/**
	 * @return
	 */
	public boolean isBeadFlipped() {
		return flipped;
	}

	/**
	 * @param flipped
	 */
	public void setFlipped(boolean flipped) {
		this.flipped = flipped;
	}
}
